home *** CD-ROM | disk | FTP | other *** search
- !!Script
- // Copyright ⌐ 1997-1998 - Modelworks Software
-
- // Insert script helper for:
-
- /**
- @Object: File
- @Method: getApplicationPath() returns the path to the Application (IDE) folder.
- Note: this is a static member of the File object.
- @Syntax: File.getApplicationPath()
- @Summary: File.getApplicationPath - returns the path to the Application (IDE) folder
- */
-
- function DoCommand()
- {
- var editor = getActiveEditor();
- if (editor)
- {
- var selection = editor.getSelection();
- editor.replace("File.getApplicationPath()", selection);
- editor.setActive("Insert File.getApplicationPath");
- }
- }
-
- !!/Script
-